package oo_day02.Test;

public class Test {
    public static void main(String[] args) {
        Dog wc = new Dog("旺财",6,"白色");
        wc.drink();
        wc.eat();
        wc.lookHome();

        Chick xj = new Chick("小鸡",2,"黑色");
        xj.drink();
        xj.eat();

        Fish xy = new Fish("小鱼",1,"蓝色");
        xy.drink();
        xy.eat();

    }

}

